﻿using System.Collections.Generic;

namespace Xc.DataAccess.Protocoals.WaterMeters.Models
{
    /// <summary>
    /// 在线设备列表
    /// </summary>
    public class OnlineDevice
    {
        /// <summary>
        /// 在线设备列表
        /// </summary>
        /// <param name="totalCount"></param>
        /// <param name="currentReturn"></param>
        public OnlineDevice(int totalCount, IEnumerable<OnlineInfos> currentReturn)
        {
            TotalCount = totalCount;
            CurrentReturn = currentReturn;
        }

        /// <summary>
        /// 设备总数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 当前返回
        /// </summary>
        public IEnumerable<OnlineInfos> CurrentReturn { get; set; }
    }
}
